# $Id$
# Contributor: Sylvain HENRY <hsyl20@gmail.com>

pkgname=w3c-mathml2
pkgver=2.0
pkgrel=4
pkgdesc="MathML XML scheme"
arch=('any')
url="http://www.w3.org/TR/MathML2/"
license=('BSD')
depends=('libxml2')
install=w3c-mathml2.install
source=(http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/mathml2.dtd
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/mathml2-qname-1.mod
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isoamsa.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isoamsb.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isoamsc.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isoamsn.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isoamso.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isoamsr.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isogrk3.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isomfrk.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isomopf.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isomscr.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isotech.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isobox.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isocyr1.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isocyr2.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isodia.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isolat1.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isolat2.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isonum.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/isopub.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/mmlextra.ent
        http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/mmlalias.ent
        LICENSE)
sha1sums=('51b7d6d9b4e4c2d97a8c8c78f956e8d8008e0a05'
          '46dcb86eb3d3ea2634f3cd7995f8467671fd13e1'
          '0b23ac89d360565d5a9ce344e04d76e375952374'
          'a9cb01fb18e2c8be84672e71cd952c2e159de0d3'
          'cb7a4152728def59dad66e36252eb31a5d02269f'
          '4fbb2e1c9be46da3012a6840066519a92b6fb711'
          '3235768919908cd34551b4104abd5f81137e7aa8'
          'e8f0e5b99e8db8c1dcc6123a12cf9564e38a03c7'
          'c67e2092ece4879dff15aa641c81c9486b84947e'
          '18f140119a6517f781189a428e5042a1d4317e78'
          '1c81a0b4b240c7fc45da2f40a129e5ac5f86490a'
          '85ef0e14d8b767dcb31ff101b969234c01dddf3d'
          'fd3f89756e517016fa5ed9b212d8d17ca3b96b3e'
          '8f5fb780461dba9d2b3465c10de094b3da842085'
          '4bf3ec29ed4560c0374a7627763a47b2e12e8b42'
          'b8dbff080f01a8ae18e62cd8435a08e67eb23c30'
          '581847ea1cf7e700a0a9e7264272f4aa01d2d891'
          'b773a5e725b9b619e383f61457d400ab52941edc'
          '29547cbe51d3d6cfeb42a13d4638331b4b45cd76'
          '9cedf031c11a4aa1284eefe3ceb6a828a4cfde3e'
          '6c13621edfb15adb415a889e7723e984d2047843'
          'b71d93e2176649cef30a42643b4551a85f5bb648'
          'bca893be91af89cec55768bf9dad04545bd09a8a'
          '51de93ee990a6029d22858a0fcf1fe80d44be83b')

package() {
  cd "${srcdir}"
  install -d -m 755 "${pkgdir}/usr/share/xml/w3c/mathml2"
  install -m644 mathml2.dtd "${pkgdir}/usr/share/xml/w3c/mathml2/"
  install -m644 *.mod "${pkgdir}/usr/share/xml/w3c/mathml2/"
  install -m644 *.ent "${pkgdir}/usr/share/xml/w3c/mathml2/"
  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
